unit CadastroSolicitacao;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, UFomCadastro, DBClient, Provider, DB, DBTables, Menus, StdCtrls,
  ComCtrls, DBCtrls, Buttons, Grids, DBGrids, ExtCtrls, CurrEdit, RXDBCtrl,
  ToolEdit, Mask;

type
  TFCadastroSolicitacao = class(TFormCadastro)
    PageControl1: TPageControl;
    TabSheet1: TTabSheet;
    TabSheet2: TTabSheet;
    Label1: TLabel;
    DBEdit1: TDBEdit;
    Label2: TLabel;
    Label3: TLabel;
    DBDateEdit1: TDBDateEdit;
    Label4: TLabel;
    Label5: TLabel;
    Label6: TLabel;
    Label7: TLabel;
    DBLookupComboBox1: TDBLookupComboBox;
    DBEdit2: TDBEdit;
    Label31: TLabel;
    DBPedido: TDBEdit;
    Label26: TLabel;
    DBCodProduto: TDBEdit;
    Label66: TLabel;
    EdRefProdutoMercadoria: TEdit;
    Label32: TLabel;
    DBLCBProduto: TDBLookupComboBox;
    Label35: TLabel;
    RxDBCQtd: TRxDBCalcEdit;
    BitInseriItem: TBitBtn;
    BitEditarItem: TBitBtn;
    BitExcluirItem: TBitBtn;
    BitSalvarItem: TBitBtn;
    BitCancelarItem: TBitBtn;
    BitPesquisarItem: TBitBtn;
    DBNitens: TDBNavigator;
    Label8: TLabel;
    DBEdit3: TDBEdit;
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FCadastroSolicitacao: TFCadastroSolicitacao;

implementation

{$R *.dfm}

procedure TFCadastroSolicitacao.FormClose(Sender: TObject;
  var Action: TCloseAction);
begin
  inherited;
  FCadastroSolicitacao.Release;
  FCadastroSolicitacao := Nil; 
end;

end.
